
import '../../../../core/errors/failure.dart';
import 'package:freezed_annotation/freezed_annotation.dart';

part 'state.freezed.dart';

@freezed
abstract class HomeState with _$HomeState {
  const factory HomeState.initial() = Initial;
  const factory HomeState.home() = Home;

  const factory HomeState.error(WidgetFailure failure) = Error;
}